package com.doudou.pay.helper.domain;

public class BaseResult {

	public final static int RESULT_OK = 0;
	public final static int RESULT_AUTOCREATE = 998;
	public final static int RESULT_FAIL = 888; // 未知错误
	public final static int RESULT_AUTH_ERROR = 401; // 密码或者验证不过
	public final static int RESULT_CHECKCODE_ERROR = 101; // 验证码错误
	public final static int RESULT_NOT_FOUND = 102; // 未找到
	public final static int RESULT_MODIFY_PASSWORD_ERROR = 103; // 修改密码错误
	public final static int RESULT_EXIST_ERROR = 104; // 已存在

	private int code;
	private String msg;
	private long totalCount;
	private long pages;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}

	public long getPages() {
		return pages;
	}

	public void setPages(long pages) {
		this.pages = pages;
	}
}
